﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSetPageLifeExpectancy" targetNamespace="http://tempuri.org/DataSetPageLifeExpectancy.xsd" xmlns:mstns="http://tempuri.org/DataSetPageLifeExpectancy.xsd" xmlns="http://tempuri.org/DataSetPageLifeExpectancy.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SQLServerOptimizerConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SQLServerOptimizerConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.SQLServerOptimizer.PL.WPF.Properties.Settings.GlobalReference.Default.SQLServerOptimizerConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PageLifeExpectancyTableAdapter" GeneratorDataComponentClassName="PageLifeExpectancyTableAdapter" Name="PageLifeExpectancy" UserDataComponentName="PageLifeExpectancyTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SQLServerOptimizerConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Performance.Time.Time, Performance.InstanceData.pageLifeExpectancy, Performance.Trace.TraceID, Performance.Instance.Name
FROM            Performance.Instance INNER JOIN
                         Performance.InstanceData ON Performance.Instance.InstanceID = Performance.InstanceData.InstanceID INNER JOIN
                         Performance.Time ON Performance.InstanceData.TimeID = Performance.Time.TimeID INNER JOIN
                         Performance.Trace ON Performance.Time.TraceID = Performance.Trace.TraceID INNER JOIN
                         Performance.PerfServer ON Performance.Instance.PerfServerID = Performance.PerfServer.PerfServerID
WHERE        (@TraceID = Performance.Trace.TraceID) AND (@ServerID = Performance.PerfServer.PerfServerID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="TraceID" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="Int32" Direction="Input" ParameterName="@TraceID" Precision="0" ProviderType="Int" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ServerID" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="Int32" Direction="Input" ParameterName="@ServerID" Precision="0" ProviderType="Int" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Time" DataSetColumn="Time" />
              <Mapping SourceColumn="pageLifeExpectancy" DataSetColumn="pageLifeExpectancy" />
              <Mapping SourceColumn="TraceID" DataSetColumn="TraceID" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSetPageLifeExpectancy" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSetPageLifeExpectancy" msprop:Generator_UserDSName="DataSetPageLifeExpectancy">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="PageLifeExpectancy" msprop:Generator_TableClassName="PageLifeExpectancyDataTable" msprop:Generator_TableVarName="tablePageLifeExpectancy" msprop:Generator_TablePropName="PageLifeExpectancy" msprop:Generator_RowDeletingName="PageLifeExpectancyRowDeleting" msprop:Generator_RowChangingName="PageLifeExpectancyRowChanging" msprop:Generator_RowEvHandlerName="PageLifeExpectancyRowChangeEventHandler" msprop:Generator_RowDeletedName="PageLifeExpectancyRowDeleted" msprop:Generator_UserTableName="PageLifeExpectancy" msprop:Generator_RowChangedName="PageLifeExpectancyRowChanged" msprop:Generator_RowEvArgName="PageLifeExpectancyRowChangeEvent" msprop:Generator_RowClassName="PageLifeExpectancyRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Time" msprop:Generator_ColumnVarNameInTable="columnTime" msprop:Generator_ColumnPropNameInRow="Time" msprop:Generator_ColumnPropNameInTable="TimeColumn" msprop:Generator_UserColumnName="Time" type="xs:dateTime" minOccurs="0" />
              <xs:element name="pageLifeExpectancy" msprop:Generator_ColumnVarNameInTable="columnpageLifeExpectancy" msprop:Generator_ColumnPropNameInRow="pageLifeExpectancy" msprop:Generator_ColumnPropNameInTable="pageLifeExpectancyColumn" msprop:Generator_UserColumnName="pageLifeExpectancy" type="xs:int" minOccurs="0" />
              <xs:element name="TraceID" msdata:ReadOnly="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnTraceID" msprop:Generator_ColumnPropNameInRow="TraceID" msprop:Generator_ColumnPropNameInTable="TraceIDColumn" msprop:Generator_UserColumnName="TraceID" type="xs:int" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>